﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IDE_week2_Forms_project
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btNewForm_Click(object sender, EventArgs e)
        {
            Form2 F2 = new Form2();
            F2.ShowDialog();
        }

        private void btChangeIcon_Click(object sender, EventArgs e)
        {
            this.Icon = new System.Drawing.Icon(@"C:/Users/dazle_000/Documents/Fontys/IDE/Assignment2/IDE_week2_Solution/IDE_week2_Forms_project/Resources/Icon3.ico");
        }

        private void btResetIcon_Click(object sender, EventArgs e)
        {
            this.Icon = old System.Drawing.Icon;
        }
    }
}
